package cn.ibizlab.odoo.core.odoo_portal.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_portal.domain.Portal_mixin;
import cn.ibizlab.odoo.core.odoo_portal.filter.Portal_mixinSearchContext;

/**
 * 实体[Portal_mixin] 服务对象接口
 */

public interface IPortal_mixinService{
     Portal_mixin get(Integer id) ;
     Portal_mixin get(Portal_mixin portal_mixin) ;
     boolean remove(Integer id) ;
     void createBatch(List<Portal_mixin> portal_mixins, int batchSize) ;
     boolean update(Portal_mixin portal_mixin) ;
     boolean create(Portal_mixin portal_mixin) ;
     void updateBatch(List<Portal_mixin> portal_mixins, int batchSize) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Portal_mixin> searchDefault(Portal_mixinSearchContext context) ;

    /**
     * 转换ClientModel为Domain
     */
    public Portal_mixin convert2Domain(cn.ibizlab.odoo.core.client.model.Iportal_mixin model ,Portal_mixin domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iportal_mixin convert2Model(Portal_mixin domain , cn.ibizlab.odoo.core.client.model.Iportal_mixin model);

}
